package com.dds.system.domain.admin;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.dds.common.annotation.Excel;
import com.dds.common.core.domain.BaseEntity;

/**
 * 人员-店铺-比例记录对象 admin_operation_shop_profit
 * 
 * @author gaolianjie
 * @date 2021-04-27
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor(staticName = "of",force = true)
public class AdminOperationShopProfit
{
    private static final long serialVersionUID = 1L;

    /** 自增id */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private String userId;

    /** 店铺id */
    @Excel(name = "店铺id")
    private String shopId;

    /** 分润比例 */
    @Excel(name = "分润比例")
    private BigDecimal proportion;

    /** 用户等级 */
    @Excel(name = "用户等级")
    private Integer level;

    /** 是否所属：0下属开店 1当前开店 */
    @Excel(name = "是否所属：0下属开店 1当前开店")
    private String isOwner;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;

    /** 删除时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "删除时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deletedAt;


}
